package main.java.FSMDE.controllers.factories;


import main.java.FSMDE.controllers.IComponentController;

import org.picocontainer.MutablePicoContainer;

public class ComponentControllerFactory implements IComponentControllerFactory{

	private MutablePicoContainer container;
	
	public ComponentControllerFactory(MutablePicoContainer container) {
		this.container = container;
	}

	@Override
	public IComponentController create() {
		return this.container.getComponent(IComponentController.class);
	}

}
